package com.sgcc.manager.sql.vo;

import org.springframework.jdbc.core.JdbcTemplate;

public class JdbcTemplateUtil {
	private JdbcTemplate jdbcTemplate;
	private String type;
	private String username;
	private String password;
	private String url;
	private String db;
	private String ip;
	
	public JdbcTemplateUtil(){
		
	}
	
	
	public JdbcTemplateUtil(JdbcTemplate jdbcTemplate, String type,
			String username, String password, String url) {
		super();
		this.jdbcTemplate = jdbcTemplate;
		this.type = type;
		this.username = username;
		this.password = password;
		this.url = url;
	}


	public JdbcTemplateUtil(JdbcTemplate jdbcTemplate, String type,
			String username, String password, String db, String ip) {
		super();
		this.jdbcTemplate = jdbcTemplate;
		this.type = type;
		this.username = username;
		this.password = password;
		this.db = db;
		this.ip = ip;
	}

	public JdbcTemplate getJdbcTemplate() {
		return jdbcTemplate;
	}
	public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
		this.jdbcTemplate = jdbcTemplate;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDb() {
		return db;
	}
	public void setDb(String db) {
		this.db = db;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
}
